<template>
  <div>
    <header>
      <van-nav-bar class="main_header" :title="title">
        <template #left>
          <span @click="goBack">返回</span>
        </template>
      </van-nav-bar>
    </header>
    <div style="position:relative;overflow:hidden;">
      <!-- <van-tabs>
        <van-tab title="系统消息"> -->
      <systemNotice />
      <!-- </van-tab>
        <van-tab title="机构消息">机构消息</van-tab>
        <van-tab title="互动通知">互动通知</van-tab>
      </van-tabs> -->
    </div>
  </div>
</template>
<script>
import systemNotice from './system.vue';

export default {
  components: {
    systemNotice
  },
  data() {
    return {
      title: '消息中心'
      // active: 1
    };
  },
  created() {
    this.gameId = this.$route.params.id;
    // this.getdelegationList();
  },
  methods: {
    goBack() {
      this.$router.push({
        path: `/myCenter${this.gameId && '/' + this.gameId || ''}/`
      });
    }
  }
};
</script>
